package paa.simulator.heuristic;

public class HeuristicFactory {

	public enum HeuristicType {RANDOM, MOST_EDGES, INCREMENTAL};
	
	public Heuristic buildHeuristic(HeuristicType type) {
		switch (type) {
		case RANDOM:
			return new RandomHeuristic();
		case MOST_EDGES:
			return new MostEdgesHeuristic();
		case INCREMENTAL:
			return new IncrementalHeuristic();
		default:
			return new RandomHeuristic();
		}
	}
}